//
//  SYBrandCollectionViewCell.m
//  TermOfSectionB
//
//  Created by dllo on 15/11/28.
//  Copyright © 2015年 韩震明. All rights reserved.
//

#import "SYBrandCollectionViewCell.h"

#define SWIDTH [UIScreen mainScreen].bounds.size.width / 375.0
#define SHEIGHT [UIScreen mainScreen].bounds.size.height / 667.0

@implementation SYBrandCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.myImage = [[UIImageView alloc] initWithFrame:CGRectMake(8 * SWIDTH, 5 * SHEIGHT, 150 * SWIDTH, 150 * SHEIGHT)];
        self.myImage.backgroundColor = [UIColor whiteColor];
        [self.contentView addSubview:self.myImage];
       
        
        self.proLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 155 * SHEIGHT, 180 * SWIDTH, 30 * SHEIGHT)];
        self.proLabel.textAlignment = NSTextAlignmentCenter;
        self.proLabel.backgroundColor = [UIColor whiteColor];
        [self.contentView addSubview:self.proLabel];
       
        
        self.addLabel = [[UILabel alloc] initWithFrame:CGRectMake(10 * SWIDTH, 185 * SHEIGHT, 160 * SWIDTH, 15 * SHEIGHT)];
        self.addLabel.backgroundColor = [UIColor whiteColor];
        self.addLabel.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:self.addLabel];
       
        
    }
    return self;
}


@end
